<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>确认订单页面</title>
    <script src="../libs/require.js" data-main="../js/confirm"></script>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/confirm.css">
</head>
<body>
    <div class="site-header">
		<div class="container">
			<div class="header-logo">
				<a href="../index.html"></a>
			</div>
			<div class="header-title">
				<h2>确认订单</h2>
			</div>
		</div>
	</div>
    <div class="page-main">
        <div class="confirm-main">
            <h2>商品配置信息</h2>
            <div class="goods-list">
            </div>
            <div class="pay  clearfix">
                <div class="cover">
                    <span>应付金额:</span>
                    <span class="sum"></span>元
                </div>
            </div>
            <div class="goods-footer clearfix">
                <a href="./cart.html" class="goCart">返回购物车</a>
            </div>
        </div>
    </div>
    <script type="text/html" id="confirm-template">
        {{each selectInfo info}}
        <div class="goods-item">
            <div class="goods-image">
                <img src="{{info.image}}" alt="">
            </div>
            <div class="goods-info">
                <span class="goods-config">{{info.config}}</span>
                <span class="goods-color">{{info.color}}</span>
            </div>
            <div class="goods-price-box clearfix">
                <span class="goods-price">{{info.curPrice}}</span>
                
                <span class="goods-num">&times;{{info.amount}}</span>
                <span class="goods-subTotal">{{info.curPrice.slice(0,4)*info.amount}}元</span>
            </div>
        </div>
        {{/each}}
    </script>
</body>
</html>